<form [formGroup]="form" (ngSubmit)="onSubmit($event,form)" class="copy-task">
  <h2 mat-dialog-title>移动本列表所有内容</h2>
  <div mat-dialog-content>
    <mat-form-field>
      <mat-select palceholder="请选择目标列表" formControlName="targetListId">
        <mat-option *ngFor="let list of lists" [value]="list.id">
          {{list.name}}
        </mat-option>
      </mat-select>
    </mat-form-field>
  </div>
  <div mat-dialog-actions>
    <button type="submit" mat-raised-button color='primary'>保存</button>
    <button type="button" mat-button mat-dialog-close>关闭</button>
  </div>
</form>
